<?php

namespace App\Model;

class DistributorDevice extends Model
{
    public bool $timestamps = true;
    protected ?string $table = 'distributor_devices';

    protected array $guarded = [
        // 列出所有不想被批量赋值的字段（黑名单）
        // 其他未列出的字段将允许批量赋值
    ];

    protected array $casts = [

    ];

    public function device()
    {
        return $this->belongsTo(Device::class);
    }

}
